package com.lvwenguo.douyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lvwenguo.douyu.entity.UserFile;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author lvwenguo
 * @Date 2021/4/4 11:08
 * @Version 1.0
 */
public interface DouyuService extends IService<UserFile> {

   Boolean fileUpload(MultipartFile file, HttpServletRequest req);

   UserFile getfilePath(HttpServletRequest req);
}
